package com.dhl.cloud.course.dao;

import java.util.List;

import com.dhl.cloud.course.entity.Notice;

public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    List<Notice> selectBycourseid(Integer courseid);
    List<Notice> selectSysNoticeList();
    //目前修改为所有的notice，包括课程的
    List<Notice> selectSysNoticeListLimit();
    List<Notice> selectAllCourseNoticeList();
}
